package com.hdax.dm.common.api;

import com.hdax.dm.item.Item;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public interface ItemControllerApi {

    @PostMapping(path = "itemIdList")
    List<Item> items(@RequestParam("itemid") Long itemid);
}
